package com.ttg.model.mapper;
import com.ttg.model.pojo.ModelMctMonth;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ttg.model.vo.IndustryDepositVO;
import com.ttg.model.vo.IndustryQualityVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * (ModelMctMonthMapper) mapper
 *
 * @author chenyou
 * @datetime 2025-11-12 17:30:18
 */
 @Mapper
public interface ModelMctMonthMapper extends BaseMapper<ModelMctMonth>{

    List<ModelMctMonth> selectExistByMultiFields(@Param("list") List<ModelMctMonth> list);

    IndustryQualityVO getIndustryQuality(@Param("year") String year, @Param("month") String month, @Param("clsId2") String clsId2, @Param("livenessDays") Integer livenessDays);
    IndustryDepositVO getIndustryDeposit(@Param("year") String year,
                                         @Param("month") String month,
                                         @Param("clsId2") String clsId2,
                                         @Param("livenessDays") Integer livenessDays,
                                         @Param("effectDepMctMinAmt") Integer effectDepMctMinAmt,
                                         @Param("highDepMctMinAmt") Integer highDepMctMinAmt);

}

